home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AGA Toolkit '97
/
The AGA Toolkit '97.iso
/
workbench
/
app
/
launchpadv52
/
launchpadinstall
< prev
next >
Wrap
Text File
|
1996-09-07
|
3KB
|
106 lines
; $VER: V5.2 LaunchPad Installation 5.2 (27.03.96)
; Script to install V5.2 of LaunchPad
(set newHandlerVersion (getversion "LaunchPad"))
(set newVer (/ newHandlerVersion 65536))
(set newRev (- newHandlerVersion (* newVer 65536)))
(complete 0)
(set #introduction
(cat "\n\nThis program lets you install V" ("%ld.%ld" newVer newRev) " of LaunchPad "
))
(set #important
(cat "\n***************************************************** "
"* LaunchPad is CookieWare!! * "
"***************************************************** "
"* This means you will have to send me * "
"* cookies if you use LaunchPad. Send them to: * "
"* Chritian Lepper * "
"* Weißensteinstr. 25 * "
"* 81249 München * "
"* Germany * "
"***************************************************** "
"\nPlease abort this install and delete these files if "
"you can't comply with these instructions\n\n "
))
(set #info
(cat "LaunchPad is a program that lets you start any "
"application from its window by simply selecting "
"the a button with the mouse. You can start either "
"from WorkBench, CLI, Batch, AREXX, or define "
"pop-up- and pull-down-menus in the display. "
))
(set #which-launchpad
(cat "In which directory should LaunchPad be installed? "
))
(set #which-launchpad-help
(cat "\nThis section lets you choose on which hard drive directory "
"LaunchPad will be installed. This should normally go to the "
"directory SYS:WBStartup.\n\n"
@askdir-help
))
(set #ask-language
(cat "Which language do you want to install:"
))
(set #ask-language-help @askoptions-help
)
(set #WBHandler-text
(cat "\nInstalling WBStart-Handler\n\nCopyright ©1991-93 Stefan Becker"
))
(set #WBHandler-help
(cat "This will copy WBStart-Handler into your L: directory.\nCopyright ©1991-93 Stefan Becker\n\n"
@copylib-help
))
(complete 0)
(message #introduction)
(complete 10)
(message #important)
(complete 20)
(message #info)
(complete 30)
(set target1
(askdir (prompt #which-launchpad)
(help #which-launchpad-help)
(default "SYS:WBStartup")
(disk)))
(complete 50)
(set formatmask (askoptions (prompt #ask-language)
(help #ask-language-help)
(choices "deutsch"
"english"
)
(default 2)
)
)
(if (IN formatmask 0)
(copyfiles (source 'catalogs/deutsch/LaunchPad.catalog') (dest 'LOCALE:catalogs/deutsch'))
)
(complete 70)
(copyfiles (source 'LaunchPad') (dest target1))
(complete 80)
(copyfiles (source 'LaunchPad.info') (dest target1))
(copyfiles (source 'LaunchPad.prefs') (dest 'envarc:' ))
(copyfiles (source 'LaunchPad.prefs') (dest 'env:' ))
(complete 90)
(copylib (prompt #WBHandler-text) (help #WBHandler-help) (source "WBStart-Handler") (dest "L:") (confirm) )
(transcript '\nLaunchPad installed to 'target1'\n')
(complete 100)